package see.battle;

import see.battle.server.Server;
import android.app.Application;
import android.bluetooth.BluetoothSocket;

public class ApplicationControler extends Application {

  BluetoothSocket _socket; // needed for global adaptor
  BluetoothSocket _serverSocket; // needed for stopping
  Server _server; // needed for local adaptor
  
  public BluetoothSocket get_serverSocket() {
    return _serverSocket;
  }

  public void set_serverSocket(BluetoothSocket serverSocket) {
    _serverSocket = serverSocket;
  }

  public BluetoothSocket get_socket() {
    return _socket;
  }

  public void set_socket(BluetoothSocket socket) {
    _socket = socket;
  }

  public Server get_server() {
    return _server;
  }

  public void set_server(Server server) {
    _server = server;
  }

  public void onCreate() {
    super.onCreate();
  }

}
